package com.example.springbasic.service;

import com.example.springbasic.config.JDBCConfiguration;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;

@Service
public class JDBCServiceImpl implements JDBCService{
    @Autowired
    JDBCConfiguration jdbcConfiguration;

    @Override
    public HashMap<String, String> getJDBC() {
        return jdbcConfiguration.getJDBC();
    }
}
